package com.ruoyi.app.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 爬塔层数业务对象 app_package_two
 *
 * @author heise
 * @date 2025-06-27
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppPackageTwoBo extends BaseEntity {

    /**
     * ID
     */
    private Long packageTwoId;

    /**
     * 套餐名字
     */
    @NotBlank(message = "套餐名字不能为空", groups = { AddGroup.class, EditGroup.class })
    private String packageName;

    /**
     * 套餐价格
     */
    @NotNull(message = "套餐价格不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal packagePrice;

    /**
     * 套餐收益量
     */
    @NotNull(message = "套餐收益量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal packageIncome;

    /**
     * 爬塔贡献量
     */
    private BigDecimal packageContribution;

    /**
     * 收益时间
     */
    @NotNull(message = "收益时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long packageDay;

    /**
     * 状态
     */
    @NotBlank(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 手续费百分比
     */
    private BigDecimal packageFee;

    /**
     * 备注
     */
    private String remark;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 爬塔上级ID
     */
    private Long upId;
}
